<?php

namespace App\Http\Controllers;

use DB;
use Storage;
use Session;
use Illuminate\Http\Request;
use Laravel\Lumen\Routing\Controller;


class FormController extends BaseController
{
	/**
     * @api {get} /invitation GetTeam
     *
     * @apiVersion 0.1.0
	 *
     * @apiName GetInvitation
 	 *
     * @apiGroup invitation
	 *
     * @apiPermission app
 	 *
     *
 	 *
     * @apiDescription 获取所有喜帖
 	 *
     * @apiParam {Number} user_id 用户id.
	 *
     * @apiParam {String} search 团队名称.
	 *
     * @apiParam {Number} page 分页页码.
	 *
     *
 	 *
     * @apiSuccess {Boolean} error 是否错误.
 	 *
     * @apiSuccess {Object} result 团队数据.
 	 *
     * @apiSuccess {String} name 团队名称.
 	 *
     * @apiSuccess {Number} leader_id 创始人id.
 	 *
     * @apiSuccess {String} leader_name 创始人名称.
 	 *
     * @apiSuccess {String} is_public 是否公开.
 	 *
     * @apiSuccess {Number} set_id 通知集id.
 	 *
     * @apiSuccess {Number} calendar_id 日历id.
 	 *
     * @apiSuccess {String} easemob_id 环信群组id.
 	 *
     * @apiSuccess {String} description 团队描述.
 	 *
     * @apiSuccess {String} icon 团队图标.
 	 *
     * @apiSuccess {DateTime} created_at 创建时间.
 	 *
     * @apiSuccess {String} message 提示消息.
 	 *
 	 *
     * @apiError paramError 参数错误.
 	 *
     * @apiSampleRequest http://192.168.1.120:82/api/team
 	 *
     */

	public function index()
	{
		# code...
	}

	public function show($id)
	{
		# code...
	}

	public function store()
	{
		# code...
	}

	public function update($id)
	{
		# code...
	}

	public function destory($id)
	{
		# code...
	}
}